package com.spatio.serving.basic.service.template.common.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Description
 * @Author GuoPengfei
 * @Date 2024/6/3 17:29
 */
@Data
public class LoginReq {

    @NotEmpty(message = "email cant be empty")
    @JsonProperty("email")
    private String email;

    @NotEmpty(message = "code cant be empty")
    @JsonProperty("code")
    private String code;

    @JsonProperty("dialogue_ids")
    private String dialogueIds;
}